
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    // String tid = request.getParameter("tid");
%>
<html>
<head>
    <title>数码兑换</title>
    <meta name="description" content="数码交流平台"/>
    <meta name="keywords" content="数码交流平台">

    <meta name="HandheldFriendly" content="True"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    <link rel="shortcut icon" type="image/x-icon" href="../images/defaultheadpic.png"/>


    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <script type="text/javascript" src="<%=basePath%>/js/zzsc.js"></script>

    <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/8.5/styles/monokai_sublime.min.css">
    <link href="https://cdn.bootcss.com/magnific-popup.js/1.0.0/magnific-popup.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../css/screen.css"/>


    <script type="text/javascript" src="<%=basePath%>js/jquery-3.2.1.min.js"></script>

    <%--<script type="text/javascript" src="../js/main.js"></script>--%>
    <script type="text/javascript" src="<%=basePath%>js/bootstrap.js"></script>


    <link rel="alternate" type="application/rss+xml" title="美乎" href="#"/>


</head>
<body class="home-template">

<!-- start header -->
<header class="main-header" style="background:url(../images/pinkbg.jpg)   ;height: 300px;">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">

                <!-- start logo -->
                <a class="branding" href="<%=basePath%>main.action"" title="美乎"><img src="../images/LOGO.png"
                                                                                     style="height: 90px;width: 230px;"/></a>
                <!-- end logo -->
                <h2 style="color: black; font-family: '本墨锵黑';">数码次元--数码、生活</h2>

            </div>
        </div>
    </div>
</header>
<!-- end header -->

<!-- start navigation -->
<nav class="main-navigation">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="navbar-header">
                        <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#main-menu">
                        <span class="sr-only">Toggle navigation</span>
                        <i class="fa fa-bars"></i>
                        </span>
                </div>
                <div class="collapse navbar-collapse" id="main-menu">
                    <ul class="menu">
                        <li class="nav-current" role="presentation"><a
                                href="<%=basePath%>article/article.action">美文首页</a></li>
                        <li role="presentation"><a href="<%=basePath%>luntan/luntanshouye.action?tid=1">论坛</a></li>

                        <li role="presentation"><a href="<%=basePath%>jsp/index.jsp">商城</a></li>
                        <li role="presentation" style="background-color: lightpink;font-family: 本墨锵黑;font-size: 15px"><a href="<%=basePath%>exchange.action">点我兑换</a></li>

                        <li role="presentation"><a href="#">关于</a></li>

                    </ul>
                </div>
            </div>
        </div>
    </div>
</nav>
<!-- end navigation -->


<!-- start site's main content area -->
<section class="content-wrap">
    <div class="container">
        <div class="row">

            <main class="col-md-8 main-content">

                <article id="109" class="post tag-android tag-ke-hu-duan">

                    <header class="post-head">
                        <h1 class="post-title">数码兑换活动开始了！！！</h1>
                        <section class="post-meta">
                            <span class="author">作者：<a href="#">数码次元小编</a></span> &bull;
                            <time class="post-date" datetime="2017年11月8日星期三下午4点44分" title="2017年11月8日星期三下午4点44分">
                                2017年11月8日
                            </time>
                        </section>
                    </header>


                    <section class="post-content">
                        <p>2020年2月数码次元网全面上线了，为了给广大数码爱好者带来一个更方便更快捷的美妆交流平台，数码次元网推出大型活动
                            <a style="font-size: 30px;">“数码兑换”</a>活动全面开启
                        </p>
                        <section class="featured-media">
                            <img src="../images/meilunmeihuan.jpg" alt="数码兑换活动开始了！">
                        </section>
                        <p>只需简简单单的几步，你就能在数码兑换网体验到数码的乐趣。</p>


                        <p>1、注册成为数码次元用户，就会拥有自己的积分</p>
                        <p>2、发表帖子 +5 分</p>
                        <p>3、发表评论 +2 分</p>
                        <p>4、每日签到 +3 分</p>


                        <p>
                            <a href="#" rel="noopener"><img style="margin-bottom:0;"
                                                            src="../images/meilunmeihuan2.jpg"/></a>
                        </p>


                        <p>获取的总积分可在我的个人中心里进行查看</p>

                        <h2 id="iosghost">积分兑换</h2>
                        <p>获取相应的积分之后，可以在活动页面进行数码的兑换，还有更多精彩等你来玩</p>

                        <p>我们的平台上已经有了<a href="#">最新数码</a>了。因此，目前最明显的问题是：<strong>次元们</strong> 什么时候来论坛里聊聊天，<a>也许你能帮忙？</a>
                        </p>

                        <hr/>


                    </section>

                    <footer class="post-footer clearfix">


                        <div class="pull-right share">
                            <div class="bdsharebuttonbox share-icons">
                                <a href="#" class="bds_more" data-cmd="more"></a>
                                <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                                <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>


                                <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                            </div>
                        </div>
                    </footer>

                </article>

                <%--<div class="about-author clearfix">--%>
                    <%--留下你的评论--%>
                    <%--<input type="text" style="width:660px;height: 50px;" id="comment"/>--%>
                    <%--<div class="details">--%>

                        <%--<div class="meta-info">--%>
                            <%--<br>--%>
                            <%--<div class="content download">--%>
                                <%--<a href="javascript:void(0)" class="btn btn-default btn-block" style="width:340px" onclick="comment(<%=request.getParameter("ocid")%>,$('#comment').val())">发表评论</a>--%>
                            <%--</div>--%>
                        <%--</div>--%>
                    <%--</div>--%>
                <%--</div>--%>
                <%--<script>--%>
                    <%--function comment(occid,occontent){--%>
                        <%--<c:if test="${empty sessionScope.user.uid}">--%>
                        <%--alert("亲，请先登录");--%>
                        <%--window.location.href="<%=basePath%>jsp/loginregister.jsp";--%>

                        <%--</c:if>--%>
                        <%--<c:if test="${not empty sessionScope.user.uid}">--%>

                        <%--if($('#comment') == null){--%>
                            <%--alert("输入内容为空")--%>
                        <%--}else {--%>
                            <%--$.ajax({--%>
                                <%--type:"post",--%>
                                <%--url: "${pageContext.request.contextPath}/article/articlecomment.action",--%>
                                <%--data: "uid=" + ${sessionScope.user.uid}+"&occid="+occid+"&content="+occontent,--%>
                                <%--success: function (result) {--%>
                                    <%--if (result == 1) {--%>
                                        <%--alert("发表成功！！");--%>
                                        <%--window.location.reload();--%>
                                    <%--}--%>
                                    <%--else if (result == 0) {--%>
                                        <%--alert("发表失败！！");--%>
                                        <%--window.location.reload();--%>
                                    <%--}--%>
                                <%--}--%>
                            <%--});--%>
                        <%--}--%>

                        <%--</c:if>--%>
                    <%--}--%>
                <%--</script>--%>


            </main>

            <aside class="col-md-4 sidebar">
                <!-- start widget -->
                <!-- end widget -->

                <!-- start tag cloud widget -->
                <div class="widget">
                    <h4 class="title">社区</h4>
                    <div class="content community">
                        <p>QQ群：123456789</p>
                        <p><a href="<%=basePath%>luntan/luntanshouye.action?tid=1" title="美乎社区" target="_blank"
                              onclick="_hmt.push(['_trackEvent', 'big-button', 'click', '问答社区'])"><i
                                class="fa fa-comments"></i> 问答社区</a></p>
                        <p><a href="https://weibo.com/?topnav=1&mod=logo" title="官方微博" target="_blank"
                              onclick="_hmt.push(['_trackEvent', 'big-button', 'click', '官方微博'])"><i
                                class="fa fa-weibo"></i> 官方微博</a></p>
                    </div>
                </div>
                <!-- end tag cloud widget -->

                <!-- start widget -->
                <div class="widget">
                    <h4 class="title">每日签到</h4>
                    <div class="content download">
                        <a href="javascript:void(0)" class="btn btn-default btn-block" onclick="sign()">点我签到</a>
                    </div>
                </div>
                <script>
                    function sign() {
                        <c:if test="${empty sessionScope.user.uid}">
                        	alert("亲，请先登录");
                        	window.location.href = "<%=basePath%>jsp/loginregister.jsp";
                        </c:if>
                        <c:if test="${not empty sessionScope.user.uid}">
                        	$.ajax({
                            	type: "post",
                            	url: "${pageContext.request.contextPath}/article/sign.action",
                            	data: "uid=" + ${ sessionScope.user.uid},
                            	success: function (result) {
                                	if (result == 1) {
                                    	alert("签到成功！！");
                                    	window.load();
                                	}else if (result == 0) {
                                    	alert("您今日已经签到了亲！！");
                                	}
                            	}
                        	});
                        </c:if>
                    }
                </script>
                <!-- end widget -->
                <style>
                    #div1 {
                        height: 400px;
                        width: 200px;
                        position: relative;
                        margin: 10px auto;
                    }

                    #div1 a {
                        position: absolute;
                        top: 0px;
                        left: 0px;
                        color: black;
                        font-weight: bold;
                        padding: 3px 6px;
                    }

                    #div1 a:hover {
                        border: 1px solid #eee;
                        background: pink;
                        border-radius: 5px;
                    }
                </style>
                <!-- start tag cloud widget -->
                <div class="widget">
                    <h4 class="title">最热搜</h4>
                    <div class="aw-mod-body">
                            <div id="div1">
                                <a href="#" target="_blank">ipad2020</a>
                                <a href="#" target="_blank">iPhone11</a>
                                <a href="#" target="_blank">华为p40</a>
                                <a href="#" target="_blank">小米10</a>
                                <a href="#" target="_blank">一加八</a>
                                <a href="#" target="_blank">魅族17</a>
                                <a href="#" target="_blank">荣耀40</a>
                                <a href="#" target="_blank">vivo</a>
                                <a href="#" target="_blank">oper</a>
                                <a href="#" target="_blank">reno</a>
                                <a href="#" target="_blank">红米</a>
                                <a href="#" target="_blank">三星</a>
                                <a href="#" target="_blank">索尼</a>
                                <a href="#" target="_blank">ipad2020</a>
                                <a href="#" target="_blank">iPhone11</a>
                                <a href="#" target="_blank">华为p40</a>
                                <a href="#" target="_blank">小米10</a>
                                <a href="#" target="_blank">一加八</a>
                                <a href="#" target="_blank">魅族17</a>
                                <a href="#" target="_blank">荣耀40</a>
                                <a href="#" target="_blank">vivo</a>
                                <a href="#" target="_blank">oper</a>
                                <a href="#" target="_blank">reno</a>
                                <a href="#" target="_blank">红米</a>
                                <a href="#" target="_blank">三星</a>
                                <a href="#" target="_blank">索尼</a>
                            </div>
                        </div>
                </div>
                <!-- end tag cloud widget -->

                <!-- start widget -->
                <!-- end widget -->

                <!-- start widget -->
                <!-- end widget -->                </aside>

        </div>
    </div>
</section>

<footer class="main-footer">
    <div class="container">
        <div class="row">
            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">友链</h4>
                    <div class="content tag-cloud friend-links">
                         <a>中国苹果</a>
                        <a>中国小米</a>
                        <a>中国三星</a>
                        <a>中国魅族</a>
                        <a>中国华为</a>

                    </div>
                </div>
            </div>

            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">标签云</h4>
                    <div class="content tag-cloud">
                         <a href="#">电脑</a>
                        <a href="#">平板</a>
                        <a href="#">相机</a>
                        <a href="#">iPhone11</a>
                        <a href="#">华为p40</a>
                        <a href="#">一加8</a>
                        <a href="#">魅族</a>

                        <a href="/tag-cloud/">...</a>
                    </div>
                </div>
            </div>

            <div class="col-sm-4">
                <div class="widget">
                    <h4 class="title">合作伙伴</h4>
                    <div class="content tag-cloud friend-links">
                        <a>中国苹果</a>
                        <a>中国小米</a>
                        <a>中国三星</a>
                        <a>中国魅族</a>
                        <a>中国华为</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>

<div class="copyright">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="container">
                    <p>© 2020 数码次元. All rights reserved | Design by
            <a href="#">Hadwinling</a>
        </p>
                </div>
            </div>
        </div>
    </div>
</div>

<a href="#" id="back-to-top"><i class="fa fa-angle-up"></i></a>


<script>
    window._bd_share_config = {
        "common": {
            "bdSnsKey": {},
            "bdText": "",
            "bdMini": "2",
            "bdMiniList": false,
            "bdPic": "",
            "bdStyle": "0",
            "bdSize": "24"
        }, "share": {}
    };
    with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
</script>


</body>
</html>

